childrenNN n/a   IE 4   DOM n/a

A collection of all elements contained in the current element. Collection members are sorted in source code order. Internet Explorer lets you use array notation or parentheses to access a single element in the collection.

 
 
Object Model Reference
IE document.all.elementID.children(i)
document.all.elementID.children[i]
lengthNN n/a   IE 4   DOM n/a
 Read-only
 

Returns the number of elements in the collection.

 
Example
var howMany = document.body.children.length
 
Value
Integer.